package org.feng.service;

import org.feng.entity.pojo.Menu;

import java.util.HashMap;
import java.util.List;

public interface MenuService extends com.baomidou.mybatisplus.extension.service.IService<Menu> {
    /**
     * 创建菜单按钮
     * @param list
     * @return
     */
    Boolean createBtn(List<Menu> list);

    List<Menu> treeList();

    /**
     * 获取用户按钮权限
     * @return
     */
    HashMap<String, Boolean> getAuthButtons();
}
